home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / Unstuffers / Other Compression / MacGzip 0.21-src-c.sit / macgzip_021-src / macos / !Posix / ThinkCPosix / setuid.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-15  |  144 b   |  19 lines  |  [TEXT/KAHL]

  1. /* $Id: $ */
  2.  
  3. #include "ThinkCPosix.h"
  4.  
  5. int
  6. setuid(uid_t uid)
  7. {
  8.     __uid = uid;
  9.     return 0;
  10. }
  11.  
  12. int
  13. setgid(gid_t gid)
  14. {
  15.     __gid = gid;
  16.     return 0;
  17. }
  18.  
  19.